//
//  HMMyNoteModel.h
//  HeartMark
//
//  Created by rimi on 2016/11/7.
//  Copyright © 2016年 黄华强. All rights reserved.
//

#import <Foundation/Foundation.h>

//年份模型
@interface HMMyNoteModel : NSObject

@property (nonatomic,copy) NSString *year;
@property (nonatomic,strong) NSMutableArray *monthModels;
- (instancetype)initWithDict:(NSDictionary *)dict;
+ (NSMutableArray*)getMyNoteModelArray:(NSArray *)myNoteArray;

@end

//月份模型
@interface MonthsModel : NSObject

@property (nonatomic,assign) BOOL isDelop;
@property (nonatomic,copy) NSString *month;

@property (nonatomic,strong) NSMutableArray *noteModels;
- (instancetype)initWithDict:(NSDictionary *)dict;
+ (NSMutableArray*)getMonthModelArray:(NSArray *)monthArray;

@end

//笔记模型
@interface NoteModel : NSObject

@property (nonatomic,copy) NSString *content;
@property (nonatomic,copy) NSString *time;
@property (nonatomic,copy) NSString *noteId;
@property (nonatomic,copy) NSString *isPublic;
@property (nonatomic,copy) NSString *isDelete;

- (instancetype)initWithDict:(NSDictionary *)dict;
+ (NSMutableArray*)getNoteModelArray:(NSArray *)noteArray;

@end

